package com.bleeth.fx.component;

import javafx.geometry.Orientation;
import javafx.scene.control.Separator;
import lombok.Builder;


/**
 * @author Sakura
 * @version 1.0
 * @date 2021-11-13 22:17
 **/
@Builder
public class MDivider {


    private String icon;

    private String position;

    private String orientation = "HORIZONTAL";


    public Separator make() {
        Separator separator = new Separator();
        separator.setPrefWidth(500);

        separator.setOrientation(Orientation.valueOf(orientation));
        return separator;
    }


}
